\hypertarget{class_yig_synth_button}{
\section{YigSynthButton Class Reference}
\label{class_yig_synth_button}\index{YigSynthButton@{YigSynthButton}}
}


{\ttfamily \#include $<$yigsynthbutton.h$>$}

\subsection*{Signals}
\begin{DoxyCompactItemize}
\item 
void \hyperlink{class_yig_synth_button_a4b1eea5ef2f707893535bbf85f2dbee1}{pressed} (QString synthName)
\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{class_yig_synth_button_ae7ceb6b65ef19894b00656b6e550ebbd}{YigSynthButton} (QString name, QWidget $\ast$parent=0)
\item 
QString \hyperlink{class_yig_synth_button_ab90d5c3cda51c7ac38567f7c546a7fa5}{getName} ()
\end{DoxyCompactItemize}
\subsection*{Protected Member Functions}
\begin{DoxyCompactItemize}
\item 
void \hyperlink{class_yig_synth_button_aa79c51704101c25a50b70215c2273c43}{mousePressEvent} (QMouseEvent $\ast$e)
\item 
void \hyperlink{class_yig_synth_button_a5ab4a1c17495d265a968a573a65088bf}{mouseMoveEvent} (QMouseEvent $\ast$e)
\end{DoxyCompactItemize}


\subsection{Detailed Description}
\hyperlink{class_yig_synth_button}{YigSynthButton} defines the buttons in the synth object menu. Can be drag/dropped in the gui to create new synths 

\subsection{Constructor \& Destructor Documentation}
\hypertarget{class_yig_synth_button_ae7ceb6b65ef19894b00656b6e550ebbd}{
\index{YigSynthButton@{YigSynthButton}!YigSynthButton@{YigSynthButton}}
\index{YigSynthButton@{YigSynthButton}!YigSynthButton@{YigSynthButton}}
\subsubsection[{YigSynthButton}]{\setlength{\rightskip}{0pt plus 5cm}YigSynthButton::YigSynthButton (QString {\em name}, \/  QWidget $\ast$ {\em parent} = {\ttfamily 0})\hspace{0.3cm}{\ttfamily  \mbox{[}explicit\mbox{]}}}}
\label{class_yig_synth_button_ae7ceb6b65ef19894b00656b6e550ebbd}
\hyperlink{class_yig_synth_button}{YigSynthButton} constructor 
\begin{DoxyParams}{Parameters}
\item[{\em QString}]name Name of the synth button, also corresponds with the name of the associated synth object. \item[{\em QWidget}]$\ast$parent Parent gui object containing this button \end{DoxyParams}


\subsection{Member Function Documentation}
\hypertarget{class_yig_synth_button_ab90d5c3cda51c7ac38567f7c546a7fa5}{
\index{YigSynthButton@{YigSynthButton}!getName@{getName}}
\index{getName@{getName}!YigSynthButton@{YigSynthButton}}
\subsubsection[{getName}]{\setlength{\rightskip}{0pt plus 5cm}QString YigSynthButton::getName ()}}
\label{class_yig_synth_button_ab90d5c3cda51c7ac38567f7c546a7fa5}
getName Get the name of this SynthButton \begin{DoxyReturn}{Returns}
QString mName of this synthButton 
\end{DoxyReturn}
\hypertarget{class_yig_synth_button_a5ab4a1c17495d265a968a573a65088bf}{
\index{YigSynthButton@{YigSynthButton}!mouseMoveEvent@{mouseMoveEvent}}
\index{mouseMoveEvent@{mouseMoveEvent}!YigSynthButton@{YigSynthButton}}
\subsubsection[{mouseMoveEvent}]{\setlength{\rightskip}{0pt plus 5cm}void YigSynthButton::mouseMoveEvent (QMouseEvent $\ast$ {\em e})\hspace{0.3cm}{\ttfamily  \mbox{[}protected\mbox{]}}}}
\label{class_yig_synth_button_a5ab4a1c17495d265a968a573a65088bf}
Overridden method to facilitate drag and drop \hypertarget{class_yig_synth_button_aa79c51704101c25a50b70215c2273c43}{
\index{YigSynthButton@{YigSynthButton}!mousePressEvent@{mousePressEvent}}
\index{mousePressEvent@{mousePressEvent}!YigSynthButton@{YigSynthButton}}
\subsubsection[{mousePressEvent}]{\setlength{\rightskip}{0pt plus 5cm}void YigSynthButton::mousePressEvent (QMouseEvent $\ast$ {\em e})\hspace{0.3cm}{\ttfamily  \mbox{[}protected\mbox{]}}}}
\label{class_yig_synth_button_aa79c51704101c25a50b70215c2273c43}
Overridden method from parent to emit pressed with the synth name \hypertarget{class_yig_synth_button_a4b1eea5ef2f707893535bbf85f2dbee1}{
\index{YigSynthButton@{YigSynthButton}!pressed@{pressed}}
\index{pressed@{pressed}!YigSynthButton@{YigSynthButton}}
\subsubsection[{pressed}]{\setlength{\rightskip}{0pt plus 5cm}void YigSynthButton::pressed (QString {\em synthName})\hspace{0.3cm}{\ttfamily  \mbox{[}signal\mbox{]}}}}
\label{class_yig_synth_button_a4b1eea5ef2f707893535bbf85f2dbee1}
overridden signal. We add the name of the synth to the emitted signal 
\begin{DoxyParams}{Parameters}
\item[{\em QString}]synthname \end{DoxyParams}


The documentation for this class was generated from the following files:\begin{DoxyCompactItemize}
\item 
gui/yigsynthbutton.h\item 
gui/yigsynthbutton.cpp\end{DoxyCompactItemize}
